gtk4.git
12 years agodocs: move application support to the top of the widget list
William Jon McCann [Thu, 18 Jul 2013 01:10:29 +0000 (21:10 -0400)]
docs: move application support to the top of the widget list

12 years agodocs: Use sections in the widget gallery
William Jon McCann [Thu, 18 Jul 2013 00:45:41 +0000 (20:45 -0400)]
docs: Use sections in the widget gallery

12 years agodocs: remove deprecated font and color selectors from gallery
William Jon McCann [Wed, 17 Jul 2013 23:49:29 +0000 (19:49 -0400)]
docs: remove deprecated font and color selectors from gallery

12 years agodocs: update generated images of widgets
William Jon McCann [Wed, 17 Jul 2013 23:18:12 +0000 (19:18 -0400)]
docs: update generated images of widgets

12 years agoSet reasonable minimum size for the file chooser
William Jon McCann [Wed, 17 Jul 2013 22:56:08 +0000 (18:56 -0400)]
Set reasonable minimum size for the file chooser

At small sizes it just looks broken.

12 years agoAdd a bit of margin on the statusbar
William Jon McCann [Wed, 17 Jul 2013 20:52:23 +0000 (16:52 -0400)]
Add a bit of margin on the statusbar

So that the text doesn't touch the side of the window. And it
looks much cleaner.

12 years agodocs: make the spinner spin for the screenshot
William Jon McCann [Wed, 17 Jul 2013 23:11:16 +0000 (19:11 -0400)]
docs: make the spinner spin for the screenshot

12 years agodocs: use a nicer image for the screenshot
William Jon McCann [Wed, 17 Jul 2013 21:53:03 +0000 (17:53 -0400)]
docs: use a nicer image for the screenshot

12 years agodocs: don't vertically fill statusbar
William Jon McCann [Wed, 17 Jul 2013 21:16:01 +0000 (17:16 -0400)]
docs: don't vertically fill statusbar

12 years agodocs: remove deprecated font selector screenshot
William Jon McCann [Wed, 17 Jul 2013 19:17:48 +0000 (15:17 -0400)]
docs: remove deprecated font selector screenshot

12 years agodocs: remove deprecated color selection screenshot
William Jon McCann [Wed, 17 Jul 2013 19:09:10 +0000 (15:09 -0400)]
docs: remove deprecated color selection screenshot

12 years agodocs: update copyright text
William Jon McCann [Wed, 17 Jul 2013 19:06:15 +0000 (15:06 -0400)]
docs: update copyright text

12 years agodocs: make bar widgets stretch horizontally in shots
William Jon McCann [Wed, 17 Jul 2013 19:03:49 +0000 (15:03 -0400)]
docs: make bar widgets stretch horizontally in shots

12 years agodocs: don't use an icon by default in the combobox shot
William Jon McCann [Wed, 17 Jul 2013 23:34:22 +0000 (19:34 -0400)]
docs: don't use an icon by default in the combobox shot

12 years agoshooter: Make sure to free the surface
Jasper St. Pierre [Thu, 18 Jul 2013 00:09:56 +0000 (20:09 -0400)]
shooter: Make sure to free the surface

12 years agoAdd AudioMicMute
Matthias Clasen [Wed, 17 Jul 2013 21:51:33 +0000 (17:51 -0400)]
Add AudioMicMute

This keysym was recently added to XF86keysym.h.

12 years agoshooter: Use the reftests code for taking screenshots
Jasper St. Pierre [Wed, 17 Jul 2013 20:54:42 +0000 (16:54 -0400)]
shooter: Use the reftests code for taking screenshots

12 years agogdkkeysyms-update: Remove workarounds for old bugs
Jasper St. Pierre [Wed, 17 Jul 2013 20:39:04 +0000 (16:39 -0400)]
gdkkeysyms-update: Remove workarounds for old bugs

12 years agogdkkeysyms-update: Just overwrite gdkkeysyms.h
Jasper St. Pierre [Wed, 17 Jul 2013 20:27:31 +0000 (16:27 -0400)]
gdkkeysyms-update: Just overwrite gdkkeysyms.h

12 years agodoc-shooter: Remove inappropriate menu usage
Jasper St. Pierre [Wed, 17 Jul 2013 19:04:20 +0000 (15:04 -0400)]
doc-shooter: Remove inappropriate menu usage

12 years agodocs: Remove old refcounting file
Jasper St. Pierre [Wed, 17 Jul 2013 18:48:00 +0000 (14:48 -0400)]
docs: Remove old refcounting file

This references GTK+2-era objects, and isn't really useful anymore.

12 years agodocs: use informal figures for screenshots
William Jon McCann [Wed, 17 Jul 2013 17:09:28 +0000 (13:09 -0400)]
docs: use informal figures for screenshots

12 years agodocs: update getting started screenshots
William Jon McCann [Wed, 17 Jul 2013 13:36:00 +0000 (09:36 -0400)]
docs: update getting started screenshots

12 years agodocs: add filename hints for getting started examples
William Jon McCann [Wed, 17 Jul 2013 13:21:08 +0000 (09:21 -0400)]
docs: add filename hints for getting started examples

12 years agodocs: fix use of multiplication typography
William Jon McCann [Wed, 17 Jul 2013 13:19:11 +0000 (09:19 -0400)]
docs: fix use of multiplication typography

12 years agoTajik translation updated
Victor Ibragimov [Wed, 17 Jul 2013 06:54:15 +0000 (11:54 +0500)]
Tajik translation updated

12 years agogdk/wayland: cope with the compositor implementing an older protocol than us
Giovanni Campagna [Fri, 12 Jul 2013 14:49:52 +0000 (16:49 +0200)]
gdk/wayland: cope with the compositor implementing an older protocol than us

If we bind to a global with an higher version than implemented, or
we make requests that appeared in a later version, we would get
fatal wayland errors.

https://bugzilla.gnome.org/show_bug.cgi?id=704104

12 years agoTajik translation updated
Victor Ibragimov [Tue, 16 Jul 2013 08:43:57 +0000 (13:43 +0500)]
Tajik translation updated

12 years agoreftests: Fix broken reftest
Benjamin Otte [Mon, 15 Jul 2013 17:42:29 +0000 (19:42 +0200)]
reftests: Fix broken reftest

GtkMenuItem has no accel group.

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 15 Jul 2013 17:40:24 +0000 (19:40 +0200)]
Updated Norwegian bokmål translation

12 years agoFix infobar docs to not mention type colors
William Jon McCann [Mon, 15 Jul 2013 16:37:58 +0000 (12:37 -0400)]
Fix infobar docs to not mention type colors

The theme may not use colors to distinguish the info bar
message types.

12 years agoMake the info bar action area border the same as the internal spacing
William Jon McCann [Mon, 15 Jul 2013 13:49:32 +0000 (09:49 -0400)]
Make the info bar action area border the same as the internal spacing

Using a consistent spacing feels much more polished.

12 years agoMake info bar action area horizontal
William Jon McCann [Mon, 15 Jul 2013 13:33:44 +0000 (09:33 -0400)]
Make info bar action area horizontal

A vertical action area causes the info bar to be imposingly large.
This defeats the whole point of the info bar which is to be
unobtrusive. Not to mention it is impossible to make it look
and feel good.

12 years agoBug 704216: Fix prototype for gdk_quartz_device_core_warp.
William Hua [Sun, 14 Jul 2013 22:07:05 +0000 (18:07 -0400)]
Bug 704216: Fix prototype for gdk_quartz_device_core_warp.

12 years agoGtkSearchEntry: fix search_entry_clear_cb()
Sébastien Wilmet [Sat, 13 Jul 2013 19:07:08 +0000 (21:07 +0200)]
GtkSearchEntry: fix search_entry_clear_cb()

When the icon-release signal is emitted on a GtkSearchEntry, the
contents is now cleared only if it's for the secondary icon. The primary
icon can be used for another purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=704164

12 years agoUpdated Czech translation
Marek Černocký [Sun, 14 Jul 2013 09:39:17 +0000 (11:39 +0200)]
Updated Czech translation

12 years agoUpdated Czech translation
Marek Černocký [Sun, 14 Jul 2013 09:25:32 +0000 (11:25 +0200)]
Updated Czech translation

12 years agoUpdated Lithuanian properties translation
Aurimas Černius [Sat, 13 Jul 2013 15:01:09 +0000 (18:01 +0300)]
Updated Lithuanian properties translation

12 years agoUpdated Lithuanian UI translation
Aurimas Černius [Sat, 13 Jul 2013 14:38:25 +0000 (17:38 +0300)]
Updated Lithuanian UI translation

12 years ago[l10n] Update Tajik translation
Victor Ibragimov [Sat, 13 Jul 2013 13:39:22 +0000 (15:39 +0200)]
[l10n] Update Tajik translation

12 years agoTajik translation updated
Victor Ibragimov [Fri, 12 Jul 2013 12:22:38 +0000 (17:22 +0500)]
Tajik translation updated

12 years agoDeprecate and ignore gtk-entry-password-hint-timeout
William Jon McCann [Wed, 10 Jul 2013 16:13:12 +0000 (12:13 -0400)]
Deprecate and ignore gtk-entry-password-hint-timeout

This feature offers a number of benefits related to providing
feedback to the user when the password is masked. Some experts have
argued that password masking is harmful. I tend to agree with this
setting providing a better and more moderate solution. Some agree:
https://www.schneier.com/blog/archives/2009/07/the_pros_and_co.html

In order to further lessen the impact I've only enabled the feature
on the primary display since the likelyhood of a non-primary display
being visible by others is higher.

12 years agoDeprecate and ignore timeout-expand setting
William Jon McCann [Tue, 9 Jul 2013 20:47:59 +0000 (16:47 -0400)]
Deprecate and ignore timeout-expand setting

12 years agoDeprecate and ignore the timeout-initial and timeout-repeat settings
William Jon McCann [Tue, 9 Jul 2013 20:44:04 +0000 (16:44 -0400)]
Deprecate and ignore the timeout-initial and timeout-repeat settings

12 years agoUpdate git.mk, respects AC_CONFIG_AUX_DIR now
Behdad Esfahbod [Thu, 11 Jul 2013 19:28:49 +0000 (15:28 -0400)]
Update git.mk, respects AC_CONFIG_AUX_DIR now

12 years agoUpdate git.mk
Jasper St. Pierre [Thu, 11 Jul 2013 17:31:20 +0000 (13:31 -0400)]
Update git.mk

12 years agoIgnore extract-strings
Jasper St. Pierre [Thu, 11 Jul 2013 17:11:38 +0000 (13:11 -0400)]
Ignore extract-strings

12 years agotestsuite: Ignore generated .test files
Jasper St. Pierre [Thu, 11 Jul 2013 16:57:06 +0000 (12:57 -0400)]
testsuite: Ignore generated .test files

12 years agoAdd more .pc files to .gitignore
Jasper St. Pierre [Thu, 11 Jul 2013 16:46:24 +0000 (12:46 -0400)]
Add more .pc files to .gitignore

12 years agoTajik translation updated
Victor Ibragimov [Thu, 11 Jul 2013 15:13:07 +0000 (20:13 +0500)]
Tajik translation updated

12 years agoTajik translation updated
Victor Ibragimov [Thu, 11 Jul 2013 12:52:02 +0000 (17:52 +0500)]
Tajik translation updated

12 years agoTajik translation updated
Victor Ibragimov [Wed, 10 Jul 2013 08:51:32 +0000 (13:51 +0500)]
Tajik translation updated

12 years agoDelete gtk/extract-strings binary from source
Colin Walters [Wed, 10 Jul 2013 03:24:19 +0000 (23:24 -0400)]
Delete gtk/extract-strings binary from source

It was accidentally committed to git.

12 years agoBump version
Matthias Clasen [Wed, 10 Jul 2013 00:28:03 +0000 (20:28 -0400)]
Bump version

12 years ago3.9.8
Matthias Clasen [Tue, 9 Jul 2013 21:45:07 +0000 (17:45 -0400)]
3.9.8

12 years agoRemove debug spew
Matthias Clasen [Wed, 10 Jul 2013 00:06:23 +0000 (20:06 -0400)]
Remove debug spew

12 years agoDon't segfault when setting opacity on an offscreen window
Matthias Clasen [Wed, 10 Jul 2013 00:05:46 +0000 (20:05 -0400)]
Don't segfault when setting opacity on an offscreen window

This was causing the treeview tests to fail.

12 years agoRevert the private macro change for GtkToolButton
Matthias Clasen [Tue, 9 Jul 2013 23:18:08 +0000 (19:18 -0400)]
Revert the private macro change for GtkToolButton

There was a reason that GtkToolButton was not using the
G_DEFINE_TYPE macros - we need the klass argument to get
the proper button type at init time.

12 years agowayland: Handle the display connection erroring out
Rob Bradford [Tue, 9 Jul 2013 17:08:21 +0000 (18:08 +0100)]
wayland: Handle the display connection erroring out

wl_display_flush or wl_display_dispatch can return -1 if there is an
error on the display connection.

https://bugzilla.gnome.org/show_bug.cgi?id=703892

12 years agowayland: Don't clear revents until we've checked for G_IO_HUP
Kristian Høgsberg [Tue, 9 Jul 2013 22:35:06 +0000 (18:35 -0400)]
wayland: Don't clear revents until we've checked for G_IO_HUP

https://bugzilla.gnome.org/show_bug.cgi?id=703892

12 years agoFix a typo
Matthias Clasen [Tue, 9 Jul 2013 17:49:39 +0000 (13:49 -0400)]
Fix a typo

12 years agoDocument new environment variables
Matthias Clasen [Tue, 9 Jul 2013 14:07:10 +0000 (10:07 -0400)]
Document new environment variables

Explain GDK_SCALE and GDK_DPI_SCALE.

12 years agoAdd new api to the gtk docs
Matthias Clasen [Tue, 9 Jul 2013 13:52:48 +0000 (09:52 -0400)]
Add new api to the gtk docs

12 years agoAdd new gdk api to the docs
Matthias Clasen [Tue, 9 Jul 2013 13:43:18 +0000 (09:43 -0400)]
Add new gdk api to the docs

12 years agoDeprecate and hardcode gtk-recent-files-limit
William Jon McCann [Mon, 8 Jul 2013 20:42:44 +0000 (16:42 -0400)]
Deprecate and hardcode gtk-recent-files-limit

The GtkRecentChooser already has a property that can be used
to set this on a per widget basis and the recent manager already
has a max-age limit.

12 years agoplaces sidedbar: deal with lack of symbolics
Matthias Clasen [Tue, 9 Jul 2013 11:12:18 +0000 (07:12 -0400)]
places sidedbar: deal with lack of symbolics

Use g_themed_icon_new_with_default_fallbacks, so we don't end up
without icons when the theme doesn't have symbolic icons.

https://bugzilla.gnome.org/show_bug.cgi?id=703606

12 years agoContinue the deprecation of GtkIconSet
Kjell Ahlstedt [Fri, 5 Jul 2013 13:42:31 +0000 (15:42 +0200)]
Continue the deprecation of GtkIconSet

Deprecate gtk_icon_set_render_icon_surface() and gtk_image_get_icon_set(),
which take parameters of the deprecated GtkIconSet.

https://bugzilla.gnome.org/show_bug.cgi?id=703616

12 years agoFix some inconsistent deprecations
Kjell Ahlstedt [Fri, 5 Jul 2013 13:17:24 +0000 (15:17 +0200)]
Fix some inconsistent deprecations

Some functions had only a deprecation comment in the .c file, or only a
deprecation annotation in the .h file. Add the missing parts.

https://bugzilla.gnome.org/show_bug.cgi?id=703616

12 years agogtkrecentmanager: Avoid confusion between the meta-data and the actual resource.
aakash [Mon, 8 Jul 2013 21:41:27 +0000 (03:11 +0530)]
gtkrecentmanager: Avoid confusion between the meta-data and the actual resource.

Fixed the documentation to clarify that gtk_recent_info_get_visited
and gtk_recent_info_get_modified are actually about the recent info
meta-data rather than the resource itself.

https://bugzilla.gnome.org/show_bug.cgi?id=703827

12 years agoTajik translation updated
Victor Ibragimov [Tue, 9 Jul 2013 10:11:15 +0000 (15:11 +0500)]
Tajik translation updated

12 years agowayland: request appropriate compositor version to support buffer scale
Rob Bradford [Tue, 9 Jul 2013 09:04:12 +0000 (10:04 +0100)]
wayland: request appropriate compositor version to support buffer scale

With the introduction of the use of buffer scaling in ed4fcee4ct we
must request version 3 of the compositor as that is the version of the
surface interface that adds this new functionality. See the following
commit in weston:

commit a85118c1b85df6fbf8f896dca971a5b79a94da71
Author: Jason Ekstrand <jason@jlekstrand.net>
Date:   Thu Jun 27 20:17:02 2013 -0500

    Use wl_resource_create() for creating resources

    This commit sets the version numbers for all added/created objects.  The
    wl_compositor.create_surface implementation was altered to create a surface
    with the same version as the underlying wl_compositor.  Since no other
    "child interfaces" have version greater than 1, they were all hard-coded to
    version 1.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
https://bugzilla.gnome.org/show_bug.cgi?id=703817

12 years agodocs: Update the coding style
Emmanuele Bassi [Thu, 4 Jul 2013 23:09:37 +0000 (00:09 +0100)]
docs: Update the coding style

We should mention that newly written code should not have the private
data pointer in the instance structure, and that private data should be
added using the new GObject macros.

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agotests: Use the new macros for adding instance private data
Emmanuele Bassi [Thu, 4 Jul 2013 23:09:31 +0000 (00:09 +0100)]
tests: Use the new macros for adding instance private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agogtk-demo: Use the new macros for adding instance private data
Emmanuele Bassi [Thu, 4 Jul 2013 23:09:12 +0000 (00:09 +0100)]
gtk-demo: Use the new macros for adding instance private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agodeprecated: Use the new macros for adding instance private data
Emmanuele Bassi [Thu, 4 Jul 2013 23:08:37 +0000 (00:08 +0100)]
deprecated: Use the new macros for adding instance private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agogtk: Use new macros for defining private data
Emmanuele Bassi [Thu, 27 Jun 2013 19:02:52 +0000 (20:02 +0100)]
gtk: Use new macros for defining private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agoa11y: Use new macros for defining private data
Emmanuele Bassi [Mon, 24 Jun 2013 18:13:44 +0000 (19:13 +0100)]
a11y: Use new macros for defining private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agogdk: Use new macros for defining private data
Emmanuele Bassi [Mon, 24 Jun 2013 17:54:05 +0000 (18:54 +0100)]
gdk: Use new macros for defining private data

Drop the g_type_class_add_private() function, and use the macros
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agoBump GLib dependency to 2.37.3
Emmanuele Bassi [Mon, 24 Jun 2013 17:52:05 +0000 (18:52 +0100)]
Bump GLib dependency to 2.37.3

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agoGtkSearchBar: Don't show a close button by default
Bastien Nocera [Fri, 5 Jul 2013 14:05:56 +0000 (16:05 +0200)]
GtkSearchBar: Don't show a close button by default

And mention in which cases we should show one in the documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=703656

12 years agowayland: Fix build due to missing symbol export
Jürg Billeter [Mon, 8 Jul 2013 07:41:03 +0000 (09:41 +0200)]
wayland: Fix build due to missing symbol export

https://bugzilla.gnome.org/show_bug.cgi?id=703765

12 years agotextlayout: avoid double-free when adding preedit color
Daiki Ueno [Wed, 3 Jul 2013 10:03:30 +0000 (19:03 +0900)]
textlayout: avoid double-free when adding preedit color

In add_preedit_attrs, don't free foreground/background colors already
set in the underlying text attributes (style).  They will be free'd by
release_style.

https://bugzilla.gnome.org/show_bug.cgi?id=703533

12 years agoFix the small text for text in GtkAboutDialog
Matthias Clasen [Tue, 9 Jul 2013 01:46:43 +0000 (21:46 -0400)]
Fix the small text for text in GtkAboutDialog

The conversion from gtk_widget_override_font to a GtkTextTag
in fbbb66ae7d19516b7a99de3d8b0a96164fb3ead2 was defective.

https://bugzilla.gnome.org/show_bug.cgi?id=701119

12 years agoAdd missing G_PARAM_DEPRECATED to stock deprecations
William Jon McCann [Mon, 8 Jul 2013 19:39:55 +0000 (15:39 -0400)]
Add missing G_PARAM_DEPRECATED to stock deprecations

12 years agoAdd missing G_PARAM_DEPRECATED to gtksettings
William Jon McCann [Mon, 8 Jul 2013 19:28:25 +0000 (15:28 -0400)]
Add missing G_PARAM_DEPRECATED to gtksettings

12 years agoDeprecate and hardcode default toolbar icon size setting
William Jon McCann [Mon, 8 Jul 2013 17:45:01 +0000 (13:45 -0400)]
Deprecate and hardcode default toolbar icon size setting

Toolbar icon size can still be changed on a per-widget basis as
needed by the application developer.

12 years agoDeprecate and hardcode default toolbar style setting
William Jon McCann [Mon, 8 Jul 2013 17:28:48 +0000 (13:28 -0400)]
Deprecate and hardcode default toolbar style setting

Toolbar style can still be changed on a per-widget basis as
needed by the application developer.

12 years agoDeprecate and hardcode values for gtk-tooltip* timeouts
William Jon McCann [Mon, 8 Jul 2013 17:13:23 +0000 (13:13 -0400)]
Deprecate and hardcode values for gtk-tooltip* timeouts

12 years agoDeprecate and hardcode the value of visible-focus setting
William Jon McCann [Mon, 8 Jul 2013 16:53:23 +0000 (12:53 -0400)]
Deprecate and hardcode the value of visible-focus setting

Just use the default value of AUTOMATIC and make it just work.

12 years agobuild: Update for perf/ directory removal
Benjamin Otte [Mon, 8 Jul 2013 14:23:42 +0000 (16:23 +0200)]
build: Update for perf/ directory removal

Ooops.

12 years agoperf: Delete
Benjamin Otte [Mon, 8 Jul 2013 14:17:46 +0000 (16:17 +0200)]
perf: Delete

The perf/ directory was unused and the code was outdated. So it's easier
to delete than trying to modernize the code.

12 years agotools: Fix casting warnings
Benjamin Otte [Mon, 8 Jul 2013 14:17:18 +0000 (16:17 +0200)]
tools: Fix casting warnings

12 years agofix close button in testtitlebar as well
Matthias Clasen [Sun, 7 Jul 2013 01:53:15 +0000 (21:53 -0400)]
fix close button in testtitlebar as well

Same disease as with the previous fix.

12 years agocsd: Fix up close buttons
Matthias Clasen [Sun, 7 Jul 2013 01:49:25 +0000 (21:49 -0400)]
csd: Fix up close buttons

Must pass the window as first argument to the signal handler.

12 years agoCosmetics
Matthias Clasen [Sat, 6 Jul 2013 01:43:16 +0000 (21:43 -0400)]
Cosmetics

12 years agoUpdated POTFILES.skip
Piotr Drąg [Sat, 6 Jul 2013 15:09:15 +0000 (17:09 +0200)]
Updated POTFILES.skip

12 years agoUpdated Vietnamese translation
Trần Ngọc Quân [Sat, 6 Jul 2013 11:39:37 +0000 (18:39 +0700)]
Updated Vietnamese translation

12 years agopo/vi: import from Damned Lies
Nguyễn Thái Ngọc Duy [Sat, 6 Jul 2013 11:30:54 +0000 (18:30 +0700)]
po/vi: import from Damned Lies

12 years agoDon't prematurely mark window as realized
Matthias Clasen [Fri, 5 Jul 2013 21:15:31 +0000 (17:15 -0400)]
Don't prematurely mark window as realized

Other code assumes that the widget has a window if it is realized.
Since we might trigger such code indirectly from gtk_window_realize,
don't mark the window as realized before we've registered its window.

12 years agoCosmetic cleanups
Matthias Clasen [Fri, 5 Jul 2013 18:24:38 +0000 (14:24 -0400)]
Cosmetic cleanups

Avoid some unnecessary casts.